export default {
    'GET /api/home/info': (_req: any, res: any) => {
        res.json({
            success: true,
            data: {
                // 首页banner信息
                banner: "https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/7eb1c2086a044ff9abc5efb9d04c2325_mergeImage.png",
                // 广播列表
                broadcast: [
                    "接口数据1",
                    "接口数据2",
                    "接口数据3",
                    "接口数据4"
                ],
                three: [
                    {
                        "S": "ETH",
                        "u": 3444.6183,
                        "c": 0.0215,
                    },
                    {
                        "S": "BTC",
                        "u": 3444.6183,
                        "c": 0.0215,
                    }, {
                        "S": "HUSD",
                        "u": 3444.6183,
                        "c": 0.0215,
                    }
                ]
            },
            errorCode: 0,
        });
    },
    'GET /api/home/product': (_req, res: any) => {
        res.json({
            success: true,
            data: [
                {
                    productName: 'ADA',
                    id: 1,
                    rate: 1.2,
                    period: 2,
                    min: 10
                },
                {
                    productName: 'BCC',
                    id: 2,
                    rate: 1.2,
                    period: 2,
                    min: 10
                },
                {
                    productName: 'BCH',
                    id: 3,
                    rate: 1.2,
                    period: 2,
                    min: 10
                },
                {
                    productName: 'EOS',
                    id: 4,
                    rate: 1.2,
                    period: 2,
                    min: 10
                },

            ],
            errorCode: 0,
        })

    }
};
